﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpAdd.aspx.cs" Inherits="UI.ModEmployee.EmpAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    

    <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
    <script src="../JS/calendar.js" type="text/javascript"></script>
    <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            var s = document.getElementById("txtFamilyMember").value;
            document.getElementById("txtFamilyMember").value = s.replace(/<br\s*\/?\s*>/g, "\n").replace(/\s|　|&amp;amp;nbsp;|&nbsp;|&amp;nbsp;?/gi, " ");
            var s1 = document.getElementById("txtLearnExperience").value;
            document.getElementById("txtLearnExperience").value = s1.replace(/<br\s*\/?\s*>/g, "\n").replace(/\s|　|&amp;amp;nbsp;|&nbsp;|&amp;nbsp;?/gi, " ");

            var s2 = document.getElementById("txtJobExperience").value;
            document.getElementById("txtJobExperience").value = s2.replace(/<br\s*\/?\s*>/g, "\n").replace(/\s|　&amp;amp;nbsp;|&nbsp;|&amp;nbsp;?/gi, " ");

            var s3 = document.getElementById("txtMemo").value;
            document.getElementById("txtMemo").value = s3.replace(/<br\s*\/?\s*>/g, "\n").replace(/\s|　|&amp;amp;nbsp;|&nbsp;|&amp;nbsp;?/gi, " ");
        }
        //将回车键改为tab键//

        
</script>

      
    <style type="text/css">
        .style1
        {
            height: 27px;
            font-family: "Tahoma" , "宋体";
            font-size: 9pt;
            width: 73px;
        }
    </style>
</head>
<body onload="window.document.forms[0].txtEmpCode.focus();">
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>增加雇员信息</b></div>
        <div class="pagetopright">
            &nbsp;
            <a href="BankAccountBatch.aspx" target="_self">批量增加银行账号</a>            
            
            <a href="#" onclick="javascript:window.location.reload()">刷新</a> <a href="javascript:history.back()">
                后退</a>
        </div>
    </div>
    <center> 
    <asp:Panel ID="Panel1" runat="server"  HorizontalAlign="Left" Height="500px" Width="800px"  ScrollBars="Vertical">
    <table align="center" cellpadding="0" cellspacing="0" style="width: 759px">
        <tr class="td">
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td width="168" rowspan="4">
                <div style="width: 100px; height: 110px; border-bottom: #999999 1px solid; border-left: #999999 1px solid;
                    border-right: #999999 1px solid; border-top: #999999 1px solid;">
                    &nbsp;</div>
                <br />
            </td>
        </tr>
        <tr class="td">
            <td width="91" style="text-align: right">
                部门
            </td>
            <td width="200">
                &nbsp;<asp:DropDownList ID="ddlDeptID" runat="server" CssClass="InputCss" 
                    AutoPostBack="True" onselectedindexchanged="ddlDeptID_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td width="73">
                职位
            </td>
            <td>
                <asp:DropDownList ID="ddlDutyID" runat="server" CssClass="InputCss" TabIndex="1">
                </asp:DropDownList>
            </td>
        </tr>
        <tr class="td">
            <td style="text-align: right">
                工号
            </td>
            <td>
                &nbsp;<asp:TextBox ID="txtEmpCode" runat="server"      CssClass="InputCss" Width="100px"
                    TabIndex="2" MaxLength="10"  ></asp:TextBox>

                     <a href="javascript:ShowLink('EmpCreateCode.aspx',350,300)"><img src="../Images/Search.gif" alt="生成编号" width="27" height="12" border="0" /></a>
            </td>
            <td>
                入职日期
            </td>
            <td>
                <asp:TextBox ID="txtJoinTime" runat="server" CssClass="InputCss" Width="100px"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" 
                    TabIndex="3"></asp:TextBox>
            </td>
        </tr>
        <tr class="td">
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <div style="width: 760px; border-bottom: #000000 1px solid; border-left: #000000 1px solid;
        border-right: #000000 1px solid; border-top: #000000 1px solid; margin: 0 auto;">
        <table align="center" cellpadding="0" cellspacing="0" class="tableRecGray" style="width: 730px">
            <tr class="td">
                <td>
                    姓名
                </td>
                <td>
                    <asp:TextBox ID="txtEmpName" runat="server" CssClass="InputCss" Width="70px" TabIndex="4"
                        MaxLength="20"></asp:TextBox>
                </td>
                <td>
                    性别
                </td>
                <td>
                    <asp:DropDownList ID="ddlEmpSex" runat="server" CssClass="InputCss" TabIndex="5">
                        <asp:ListItem>男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    籍贯
                </td>
                <td>
                    <asp:TextBox ID="txtRegistry" runat="server" CssClass="InputCss" Width="70px" TabIndex="6"
                        MaxLength="20">汕头</asp:TextBox>
                </td>
                <td>
                    民族
                </td>
                <td>
                    <asp:TextBox ID="txtNationality" runat="server" CssClass="InputCss" Width="70px"
                        TabIndex="7" MaxLength="15">汉</asp:TextBox>
                </td>
            </tr>
            <tr class="td">
                <td>
                    出生日期
                </td>
                <td>
                    <asp:TextBox ID="txtBirthday" runat="server" CssClass="InputCss" Width="70px" TabIndex="8" onkeypress="return validateKey(this,false, getkeyCode(event));"
                        MaxLength="10"></asp:TextBox>
                </td>
                <td>
                    学历
                </td>
                <td>
                    <asp:DropDownList ID="ddlEducationID" runat="server" CssClass="InputCss" TabIndex="9">
                    </asp:DropDownList>
                </td>
                <td>
                    婚否
                </td>
                <td>
                    <asp:DropDownList ID="ddlIsMarry" runat="server" CssClass="InputCss" TabIndex="10">
                         <asp:ListItem>否</asp:ListItem>
                        <asp:ListItem>是</asp:ListItem>
                       
                    </asp:DropDownList>
                </td>
                <td>
                    电脑水平
                </td>
                <td>
                    <asp:TextBox ID="txtComputerLevel" runat="server" CssClass="InputCss" Width="70px"
                        TabIndex="11" MaxLength="8">一般</asp:TextBox>
                </td>
            </tr>
            <tr class="td">
                <td>
                    区域
                </td>
                <td>
                    <asp:DropDownList ID="ddlAreaID" runat="server" CssClass="InputCss" TabIndex="12">
                    </asp:DropDownList>
                </td>
                <td>
                    属班组
                </td>
                <td>
                    <asp:TextBox ID="txtWorkGroup" runat="server" CssClass="InputCss" Width="70px" TabIndex="13"></asp:TextBox>
                </td>
                <td>
                    工作状态
                </td>
                <td>
                    <asp:DropDownList ID="ddlStateID" runat="server" CssClass="InputCss" TabIndex="14">
                    </asp:DropDownList>
                </td>
                <td>
                    工资状态
                </td>
                <td>
                    <asp:DropDownList ID="ddlSalaryState" runat="server" CssClass="InputCss" TabIndex="15">
                        
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="td">
                    是否考核
                </td>
                <td>
                    <asp:DropDownList ID="ddlIsCheck" runat="server" CssClass="InputCss" TabIndex="16">
                        <asp:ListItem>是</asp:ListItem>
                        <asp:ListItem>否</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    社保金额
                </td>
                <td>
                    <asp:TextBox ID="txtSafetyAmount" runat="server" CssClass="InputCss" Width="70px"
                        TabIndex="17" MaxLength="6">0</asp:TextBox>
                </td>
                <td>
                    试用时长
                </td>
                <td>
                    <asp:TextBox ID="txtTestTimeLong" runat="server" CssClass="InputCss" Width="30px"
                        TabIndex="18" MaxLength="2">3</asp:TextBox>
                    月
                </td>
                <td>
                    工资账号</td>
                <td>
                    <asp:TextBox ID="txtSalaryAccount" runat="server" CssClass="InputCss" 
                        TabIndex="19" Width="120px"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table align="center" cellpadding="0" cellspacing="0" style="width: 730px">
            <tr class="td">
                <td width="99">
                    招聘来源
                </td>
                <td>
                    <asp:DropDownList ID="ddlHrFrom" runat="server" CssClass="InputCss" TabIndex="20">
                        <asp:ListItem>员工/朋友介绍</asp:ListItem>
                        <asp:ListItem>网络</asp:ListItem>
                        <asp:ListItem>人才市场</asp:ListItem>
                        <asp:ListItem>商场海报</asp:ListItem>
                        <asp:ListItem>学校推荐</asp:ListItem>
                        <asp:ListItem>返聘</asp:ListItem>
                        <asp:ListItem>其他</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    交通工具
                </td>
                <td>
                    <asp:DropDownList ID="ddlVehicle" runat="server" CssClass="InputCss" TabIndex="21">
                        <asp:ListItem>摩托车</asp:ListItem>
                        <asp:ListItem>公车</asp:ListItem>
                        <asp:ListItem>单车</asp:ListItem>
                        <asp:ListItem>其他</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr class="td">
                <td>
                    身份证
                </td>
                <td>
                    <asp:TextBox ID="txtZipCode" runat="server" CssClass="InputCss" Width="280px" TabIndex="22"
                        MaxLength="18"></asp:TextBox>
                </td>
                <td>
                    手机
                </td>
                <td>
                    <asp:TextBox ID="txtMobile" runat="server" CssClass="InputCss" Width="130px" TabIndex="23"
                        MaxLength="20"></asp:TextBox>
                </td>
            </tr>
            <tr class="td">
                <td>
                    家庭住址
                </td>
                <td>
                    <asp:TextBox ID="txtAddr" runat="server" CssClass="InputCss" Width="280px" TabIndex="24"></asp:TextBox>
                </td>
                <td>
                    家庭电话
                </td>
                <td>
                    <asp:TextBox ID="txtHomeTel" runat="server" CssClass="InputCss" Width="130px" TabIndex="25"
                        MaxLength="30"></asp:TextBox>
                </td>
            </tr>
            <tr class="td">
                <td>
                    现本市住址
                </td>
                <td>
                    <asp:TextBox ID="txtNowAddr" runat="server" CssClass="InputCss" Width="280px" TabIndex="26"></asp:TextBox>
                </td>
                <td>
                    期望上班地点
                </td>
                <td>
                    <asp:TextBox ID="txtWishWorkAddr" runat="server" CssClass="InputCss" Width="130px"
                        TabIndex="27" MaxLength="30"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table align="center" cellpadding="0" cellspacing="0" style="width: 730px">
            <tr class="td">
                <td width="99">
                    紧急联系人
                </td>
                <td width="180">
                    &nbsp;<asp:TextBox ID="txtSpecialLinkMan" runat="server" CssClass="InputCss" Width="130px"
                        TabIndex="28" MaxLength="20"></asp:TextBox>
                </td>
                <td width="92">
                    联系电话
                </td>
                <td width="186">
                    <asp:TextBox ID="txtSpecialLinkWay" runat="server" CssClass="InputCss" Width="130px"
                        TabIndex="29" MaxLength="20"></asp:TextBox>
                </td>
                <td width="70">
                    关系
                </td>
                <td width="120">
                    <asp:TextBox ID="txtSpecialRelation" runat="server" CssClass="InputCss" Width="70px"
                        TabIndex="30" MaxLength="8"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" align="center" style="width: 730px">
            <tr>
                <td class="style1">
                    家庭成员
                </td>
                <td class="td">
                    <font color="#999999">姓名、关系、工作单位、政治面貌、职务、联系电话</font>
                </td>
            </tr>
            <tr>
                <td class="style1">
                </td>
                <td>
                    <asp:TextBox ID="txtFamilyMember" runat="server" CssClass="InputCss" Width="600px"
                        TabIndex="31" MaxLength="500" Rows="3" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    学习简历
                </td>
                <td>
                    <font color="#999999">起止年月、就读学校、专业、任职、证明人、电话、就读时突出表现</font>
                </td>
            </tr>
            <tr>
                <td class="style1">
                </td>
                <td>
                    <asp:TextBox ID="txtLearnExperience" runat="server" CssClass="InputCss" Width="600px"
                        TabIndex="32" MaxLength="600" Rows="5" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    工作经历
                </td>
                <td class="td">
                    <font color="#999999">起止年月、工作单位、职务、月薪、证明人、电话、工作时突出表现</font>
                </td>
            </tr>
            <tr>
                <td class="style1">
                </td>
                <td>
                    <asp:TextBox ID="txtJobExperience" runat="server" CssClass="InputCss" Width="600px"
                        TabIndex="33" MaxLength="2000" Rows="5" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" align="center" style="width: 730px">
            <tr>
                <td class="style1">
                    备注
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="style1">
                </td>
                <td>
                    <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" Width="600px" TabIndex="34"
                        MaxLength="600" Rows="5" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
      
    </div>
        </asp:Panel>
        </center> 
    <center>
        &nbsp;<asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="增  加" TabIndex="35" />
        &nbsp;<asp:Button ID="btnSearch" runat="server" Text="查  询" OnClick="btnSearch_Click"
            TabIndex="36" />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更  新" OnClick="btnUpdate_Click"
            TabIndex="37" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删  除" OnClick="btnDelete_Click"
            TabIndex="39" />
    </center>
    </form>
</body>
</html>
